﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace common
{
    public class GlobalData
    {
        [StructLayout(LayoutKind.Sequential)]
        public struct AgentData
        {
            public string AgentID;
            public string AgentName;
            public string LoginName;
            public string LoginPassword;
            public string TeamName;
            public string RoleName;
            public string CallOutNum;
            public int ChannelNo;
            public string LinkUser;
            public string LU_LoginName;
            public string LU_Password;
        }

        public enum PhoneType
        {
            TELEPHONE,
            TELEPHONE_BOX,
            SIP_SOFT_PHONE,
            OTHER,
        }

        [StructLayout(LayoutKind.Sequential)]
        public struct DropDialData
        {
            public string DialNum;
            public string PhoneAddress;
            public string ContentName;
        }
    }
}
